package com.example.mymvvmdemo.models.main.fragment.mine.entity;

public class UserInfoEntity {

    public int code;
    public String message;
    public DataDTO data;

    @Override
    public String toString() {
        return "UserInfoEntity{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        public String message;
        public UserDTO user;

        @Override
        public String toString() {
            return "DataDTO{" +
                    "message='" + message + '\'' +
                    ", user=" + user +
                    '}';
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public UserDTO getUser() {
            return user;
        }

        public void setUser(UserDTO user) {
            this.user = user;
        }

        public static class UserDTO {
            public int id;
            public String username;
            public String mobile;
            public String email;
            public String nickname;
            public String avatar;
            public String gender;
            public String bio;
            public String location;
            public String website;
            public boolean is_verified;
            public String status;
            public String level;
            public int score;
            public Object age;
            public String birthday;
            public String created_at;
            public String last_login;

            @Override
            public String toString() {
                return "UserDTO{" +
                        "id=" + id +
                        ", username='" + username + '\'' +
                        ", mobile=" + mobile +
                        ", email='" + email + '\'' +
                        ", nickname='" + nickname + '\'' +
                        ", avatar=" + avatar +
                        ", gender='" + gender + '\'' +
                        ", bio='" + bio + '\'' +
                        ", location='" + location + '\'' +
                        ", website='" + website + '\'' +
                        ", is_verified=" + is_verified +
                        ", status='" + status + '\'' +
                        ", level='" + level + '\'' +
                        ", score=" + score +
                        ", age=" + age +
                        ", birthday=" + birthday +
                        ", created_at='" + created_at + '\'' +
                        ", last_login='" + last_login + '\'' +
                        '}';
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getGender() {
                return gender;
            }

            public void setGender(String gender) {
                this.gender = gender;
            }

            public String getBio() {
                return bio;
            }

            public void setBio(String bio) {
                this.bio = bio;
            }

            public String getLocation() {
                return location;
            }

            public void setLocation(String location) {
                this.location = location;
            }

            public String getWebsite() {
                return website;
            }

            public void setWebsite(String website) {
                this.website = website;
            }

            public boolean isIs_verified() {
                return is_verified;
            }

            public void setIs_verified(boolean is_verified) {
                this.is_verified = is_verified;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getLevel() {
                return level;
            }

            public void setLevel(String level) {
                this.level = level;
            }

            public int getScore() {
                return score;
            }

            public void setScore(int score) {
                this.score = score;
            }

            public Object getAge() {
                return age;
            }

            public void setAge(Object age) {
                this.age = age;
            }

            public String getBirthday() {
                return birthday;
            }

            public void setBirthday(String birthday) {
                this.birthday = birthday;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getLast_login() {
                return last_login;
            }

            public void setLast_login(String last_login) {
                this.last_login = last_login;
            }
        }
    }
}
